<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<ui:composition   xmlns="http://www.w3.org/1999/xhtml"
			      xmlns:h="http://java.sun.com/jsf/html"
			      xmlns:a4j="http://richfaces.org/a4j"
			      xmlns:rich="http://richfaces.org/rich"
			      xmlns:f="http://java.sun.com/jsf/core"
			      xmlns:ui="http://java.sun.com/jsf/facelets"> 



<h:panelGroup>

 <h:form>	        
	   <rich:panelMenu
			    style="width:150px" 
			     mode="ajax" 			     
			     itemChangeListener="#{main.updateCurrent}">
			     
                <rich:panelMenuGroup label="Tickets" selectable="true" expanded="true" >
                    <rich:panelMenuItem label="Welcome" name="WELCOME" render="mainArea"/>
                    <rich:panelMenuItem label="Create Ticket" name="CREATE_TICKET"  render="mainArea"/>
                    <rich:panelMenuItem label="View All tickets" name="VIEW_TICKETS"  render="mainArea" />
                    <rich:panelMenuItem label="View my queue" name="VIEW_ALL_QUEUE_TICKETS"  render="mainArea"/>
                    <rich:panelMenuItem label="View my tickets" name="VIEW_ALL_MY_TICKETS"  render="mainArea"/>
                </rich:panelMenuGroup>
                
                <rich:panelMenuGroup label="Group 2">
                    <rich:panelMenuItem label="Item 2.1" name="Item_2_1" />
                    <rich:panelMenuItem label="Item 2.2" name="Item_2_2" />
                    <rich:panelMenuItem label="Item 2.3" name="Item_2_3" />
                    <rich:panelMenuGroup label="Group 2.4">
                        <rich:panelMenuItem label="Item 2.4.1" name="Item_2_4_1" />
                        <rich:panelMenuItem label="Item 2.4.2" name="Item_2_4_2" />
                        <rich:panelMenuItem label="Item 2.4.3" name="Item_2_4_3" />
                    </rich:panelMenuGroup>
                    <rich:panelMenuItem label="Item 2.5" name="Item_2_5" />
                </rich:panelMenuGroup>
                
                <rich:panelMenuGroup label="Group 3">
                    <rich:panelMenuItem label="Item 3.1" name="Item_3_1" />
                    <rich:panelMenuItem label="Item 3.2" name="Item_3_2" />
                    <rich:panelMenuItem label="Item 3.3" name="Item_3_3" />
                </rich:panelMenuGroup>
                
                
      </rich:panelMenu> 
       </h:form>  	  
          
      </h:panelGroup>
      
  
             
</ui:composition>

